package org.csmz.class2334;

public class example10 {
    public static void main(String[] args){
        int num1 = 10;
        Integer num2 = Integer.valueOf(num1);
        System.out.println("num2 = "+ num2);
        int num3 = num2.intValue();
        System.out.println("num3 = " + num3);
        int num4 = Integer.valueOf("123");
        System.out.println("num4 = " + num4);
        int num5 = Integer.parseInt("123");
        System.out.println("num5 = " + num5);
    }
}